<template>
  <div>
    <el-row :gutter="10">
      <el-col :span="6">
        <Deatil title="总销售额" count="￥ 188892">
          <template slot="charts">
            <span
              >周同比 79% <i class="el-icon-caret-bottom" style="color: red"></i
            ></span>
            <span
              >日同比 54% <i class="el-icon-caret-top" style="color: green"></i
            ></span>
          </template>
          <template slot="footer">
            <span>总销售额 ￥ 188892</span>
          </template>
        </Deatil>
      </el-col>
      <el-col :span="6">
        <Deatil title="访问量" count="2829">
          <template slot="charts">
            <LineCharts></LineCharts>
          </template>
          <template slot="footer">
            <span>访问量 2829</span>
          </template>
        </Deatil>
      </el-col>
      <el-col :span="6"
        ><Deatil title="支付笔数" count="2829">
          <template slot="charts">
            <BarCharts></BarCharts>
          </template>
          <template slot="footer">
            <span>支付笔数 2829</span>
          </template>
        </Deatil>
      </el-col>
      <el-col :span="6">
        <Deatil title="运营活动效果" count="87%">
          <template slot="charts">
            <ProgressCharts></ProgressCharts>
          </template>
          <template slot="footer">
            <span
              >周同比 79% <i class="el-icon-caret-bottom" style="color: red"></i
            ></span>
            <span
              >日同比 54% <i class="el-icon-caret-top" style="color: green"></i
            ></span>
          </template>
        </Deatil>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import Deatil from "./Detail";
import LineCharts from "./LineCharts";
import BarCharts from "./BarCharts";
import ProgressCharts from "./ProgressCharts";

export default {
  name: "Card",
  components: { Deatil, LineCharts, BarCharts, ProgressCharts },
};
</script>

<style>
</style>